package cn.jinjimi.app.main.widget.CommonRV;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import cn.jinjimi.app.R;

/**
 * Created by lforxeverc on 2017/4/10.
 */

public class NoMoreHolder extends BaseHolder<NoMoreViewData> {
    private TextView tvNomore;

    public NoMoreHolder(View v, Context context, int type) {
        super(v, context, type);
    }

    @Override
    protected void initView() {
        tvNomore = (TextView) itemView.findViewById(R.id.tv_no_more);
    }

    @Override
    public int getViewType() {
        return HolderType.TYPE_NO_MORE;
    }

    @Override
    public void setViews(int position, NoMoreViewData data, IActionListener mListener) {
        tvNomore.setText(data.getNomoreText());

    }
}
